//
//  LKDailyChartTeamChooseCell.m
//  YLHelper
//
//  Created by she1323 on 2018/8/15.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKDailyChartTeamChooseCell.h"
#import "LKDailyChartListModel.h"
@interface LKDailyChartTeamChooseCell()
@property (weak, nonatomic) IBOutlet UIImageView *headerImageView;

@end

@implementation LKDailyChartTeamChooseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.headerImageView.layer.cornerRadius = 20;
    self.headerImageView.layer.masksToBounds = YES;
    self.headerImageView.backgroundColor = [UIColor lightGrayColor];
    // Initialization code
}
-(void)setModel:(LKDailyChartListModel *)model{
    _model = model;
    self.teamNameLabel.text = _model.departmentUserName;
    self.personLabel.text =  [NSString stringWithFormat:@"负责人-%@",[NSString judegeIsNullAndTransform:_model.responsiblePostName]];
    [self.headerImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ServerlUrl,_model.headPortrait]] placeholderImage:[UIImage imageNamed:@"minecardtouxiang"]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
